object FrmAlterarNCMProdutos: TFrmAlterarNCMProdutos
  Left = 453
  Top = 242
  BorderStyle = bsSingle
  Caption = 'Altera'#231#227'o R'#225'pida de Produtos'
  ClientHeight = 469
  ClientWidth = 794
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  Position = poDefault
  OnClose = FormClose
  OnCreate = FormCreate
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object plFiltros: TPanel
    Left = 0
    Top = 40
    Width = 794
    Height = 90
    Align = alTop
    TabOrder = 0
    object Label4: TLabel
      Left = 8
      Top = 8
      Width = 31
      Height = 13
      Caption = 'Se'#231#227'o'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      ParentFont = False
    end
    object Label5: TLabel
      Left = 8
      Top = 48
      Width = 48
      Height = 13
      Caption = 'Subse'#231#227'o'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      ParentFont = False
    end
    object Label13: TLabel
      Left = 411
      Top = 8
      Width = 39
      Height = 13
      Caption = 'Usu'#225'rio:'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      ParentFont = False
    end
    object lbUsuario: TLabel
      Left = 411
      Top = 25
      Width = 225
      Height = 13
      AutoSize = False
      Caption = 'C'#243'digo e Nome do Usu'#225'rio'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = [fsBold]
      ParentFont = False
    end
    object btnPesquisar: TButton
      Left = 411
      Top = 56
      Width = 83
      Height = 25
      Caption = '&Pesquisar'
      TabOrder = 6
      OnClick = btnPesquisarClick
    end
    object edtSecao: TEdit
      Left = 8
      Top = 24
      Width = 49
      Height = 21
      Hint = 'C'#243'digo de Se'#231#227'o'
      MaxLength = 3
      TabOrder = 0
      OnChange = edtSecaoChange
      OnExit = edtSecaoExit
    end
    object btnSecao: TBitBtn
      Left = 57
      Top = 24
      Width = 21
      Height = 21
      Caption = '...'
      TabOrder = 1
      TabStop = False
      OnClick = btnSecaoClick2
    end
    object stSecao: TStaticText
      Left = 78
      Top = 24
      Width = 305
      Height = 21
      AutoSize = False
      BorderStyle = sbsSingle
      TabOrder = 2
    end
    object edtSubSecao: TEdit
      Left = 8
      Top = 64
      Width = 49
      Height = 21
      Hint = 'C'#243'digo de Se'#231#227'o'
      MaxLength = 3
      TabOrder = 3
      OnExit = edtSubSecaoExit
    end
    object btnSubSecao: TBitBtn
      Left = 56
      Top = 64
      Width = 21
      Height = 21
      Caption = '...'
      TabOrder = 4
      TabStop = False
      OnClick = btnSubSecaoClick
    end
    object stSubSecao: TStaticText
      Left = 78
      Top = 64
      Width = 307
      Height = 21
      AutoSize = False
      BorderStyle = sbsSingle
      TabOrder = 5
    end
  end
  object dbgrdAlteracao: TDBGrid
    Left = 0
    Top = 130
    Width = 794
    Height = 245
    Align = alClient
    DataSource = dtsAlteracao
    Enabled = False
    Options = [dgTitles, dgColumnResize, dgColLines, dgRowLines, dgRowSelect, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit]
    TabOrder = 1
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
  end
  object pnlNCM: TPanel
    Left = 0
    Top = 375
    Width = 794
    Height = 94
    Align = alBottom
    Enabled = False
    TabOrder = 2
    object Label26: TLabel
      Left = 10
      Top = 9
      Width = 33
      Height = 13
      Caption = 'N.C.M.'
    end
    object btnNCM: TBitBtn
      Left = 95
      Top = 21
      Width = 22
      Height = 22
      Caption = '...'
      TabOrder = 0
      OnClick = btnNCMClick
    end
    object stNCM: TStaticText
      Left = 117
      Top = 22
      Width = 267
      Height = 21
      AutoSize = False
      BorderStyle = sbsSingle
      Enabled = False
      TabOrder = 1
    end
    object Button1: TButton
      Left = 9
      Top = 45
      Width = 75
      Height = 25
      Caption = '&Alterar'
      TabOrder = 2
      OnClick = Button1Click
    end
    object EdtNCM: TEdit
      Left = 9
      Top = 22
      Width = 87
      Height = 21
      TabOrder = 3
    end
  end
  object Panel3: TPanel
    Left = 0
    Top = 0
    Width = 794
    Height = 40
    Align = alTop
    BevelInner = bvLowered
    BorderWidth = 2
    Caption = 'Alterar NCM dos Produtos'
    Color = clWhite
    Ctl3D = True
    Font.Charset = ANSI_CHARSET
    Font.Color = clBlue
    Font.Height = -27
    Font.Name = 'Times New Roman'
    Font.Style = [fsBold, fsItalic]
    ParentCtl3D = False
    ParentFont = False
    TabOrder = 3
  end
  object dtsAlteracao: TDataSource
    DataSet = CDS_DATASET_PRINCIPAL
    Left = 376
    Top = 256
  end
  object sql_dataset_principal: TZQuery
    Connection = DtmGeral.ZConexaoBanco
    SQL.Strings = (
      'select'
      '  ep.esp_idfcod,'
      '  ep.esp_codigo,'
      '  ep.esp_descri,'
      '  ee.ese_preven,'
      '  m.mar_nome,'
      '  ee.ese_sitcod,'
      '  ep.esp_refere,'
      '  ep.uni_codigo,'
      '  ee.ese_local,'
      '  ee.ese_preata,'
      '  ee.ese_ipicod'
      'from estoque_produto ep'
      ''
      'inner join estoque_empresa ee'
      'on ee.ese_idfcod = ep.esp_idfcod'
      ''
      'inner join marca m'
      'on m.mar_codigo = ep.esp_marcod')
    Params = <>
    Left = 72
    Top = 304
  end
  object DSP_PRINCIPAL: TDataSetProvider
    DataSet = sql_dataset_principal
    Left = 104
    Top = 304
  end
  object CDS_DATASET_PRINCIPAL: TClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'DSP_PRINCIPAL'
    AfterOpen = sql_dataset_principalAfterOpen
    AfterEdit = sql_dataset_principalAfterEdit
    AfterPost = sql_dataset_principalAfterPost
    AfterCancel = sql_dataset_principalAfterCancel
    Left = 136
    Top = 304
  end
end
